package com.select.course.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.select.course.entity.SchoolClass;
import com.select.course.entity.SchoolMajor;
import com.select.course.entity.UserTeacher;
import com.select.course.utils.PageUtils;
import com.select.course.utils.R;
import com.select.course.vo.CoursePageVo;
import com.select.course.vo.CourseVo;
import com.select.course.vo.PageVo;
import com.select.course.vo.TeacherVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
* @author 24820
* @description 针对表【c_user_teacher】的数据库操作Service
* @createDate 2022-10-26 10:17:14
*/
public interface UserTeacherService extends IService<UserTeacher> {


    UserTeacher getPackageTeacher();

    List<SchoolMajor> getMajorByCollege(String name);

    List<SchoolClass> getClassByIdNumber(Long idNumber);

    List<SchoolMajor> getMajorByCollegeIdNumber(Long idNumber);

    TeacherVo getTeacherByIdNumber(String idNumber);


    PageUtils getTeaList(PageVo pageVo);

    R addTeacher(TeacherVo teacherVo);

    R deleteTeacher(Long userId);

    R updateTeacher(TeacherVo teacherVo);

    R loginTeacher(TeacherVo teacherVo);

    PageUtils getCurriList(CoursePageVo coursePageVo);

    PageUtils getSelection(CoursePageVo coursePageVo);

    R updateSelf(TeacherVo teacherVo);

    R addClass(CourseVo courseVo);

    R getCurri(Long id);

    R getAllSelection(Long id);

    R updateCurri(CourseVo courseVo);

    R deleteCourse(Long courseId);

    R getSelectionNum(String userId);

    UserTeacher releaseTeacherVo(TeacherVo dictEeVo);

    R importData(MultipartFile file);

    void exportData(HttpServletResponse response);
}
